home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoft Multimedia Viewer How-To CD
/
Microsoft Multimedia Viewer How-To CD.iso
/
viewerht
/
addons
/
mvvbx
/
bagtest.frm
next >
Wrap
Text File
|
1993-08-16
|
4KB
|
146 lines
VERSION 2.00
Begin Form Form1
Caption = "Baggage Extractor"
ClientHeight = 3675
ClientLeft = 945
ClientTop = 1365
ClientWidth = 7245
Height = 4020
Left = 915
LinkTopic = "Form1"
ScaleHeight = 3675
ScaleWidth = 7245
Top = 1050
Width = 7305
Begin TextBox Response
Height = 1260
Left = 195
TabIndex = 10
Text = "Text2"
Top = 1125
Width = 6705
End
Begin TextBox Book
Height = 315
Left = 1380
TabIndex = 7
Text = "D:\merck\mrck_ts.mvb"
Top = 3225
Width = 5475
End
Begin TextBox Bagftext
Height = 300
Left = 1365
TabIndex = 6
Top = 2850
Width = 5475
End
Begin TextBox Text1
Height = 300
Left = 1710
TabIndex = 5
Text = "7"
Top = 2475
Width = 750
End
Begin CommandButton Command2
Caption = "Get Topic Number"
Height = 450
Left = 5085
TabIndex = 3
Top = 165
Width = 1995
End
Begin MVIEW MV1
BaggageFile = ""
Left = 150
optCmd = 0 'cmdoptNONE
Top = 120
VGetInfo = 0 'False
VGetInfohWnd = 0
ViewerCommand = ""
ViewerTitle = ""
VInfo = "╞ë∩ "
VInfoMsg = 0 'GI_NOTHING
Vwr = 0
End
Begin CommandButton Command1
Caption = "OpenTitle"
Height = 450
Left = 810
TabIndex = 2
Top = 135
Width = 1965
End
Begin CommandButton GetBag
Caption = "Get Baggage"
Height = 420
Left = 3000
TabIndex = 0
Top = 165
Width = 1815
End
Begin Label Label5
Caption = "Viewer File"
Height = 255
Left = 270
TabIndex = 9
Top = 3285
Width = 1005
End
Begin Label Label4
Caption = "Bag File"
Height = 225
Left = 315
TabIndex = 8
Top = 2880
Width = 795
End
Begin Label Label3
Caption = "Message Code"
Height = 255
Left = 270
TabIndex = 4
Top = 2520
Width = 1275
End
Begin Label Label1
Caption = "Size Of File"
Height = 225
Left = 195
TabIndex = 1
Top = 855
Width = 6165
End
End
Dim gVwr%
Sub Command1_Click ()
MV1.ViewerTitle = Book.Text
MV1.Vwr = 0
MV1.optCmd = 0
MV1.ViewerCommand = "Prev()"
MV1.ViewerExecute = True
gVwr% = MV1.Vwr
End Sub
Sub Command2_Click ()
MV1.Vwr = gVwr%
mn% = Val(text1.Text)
MV1.VInfoMsg = mn% ' GI_TOPICNO '
MV1.VGetInfohWnd = 0 ' Get the Main Scrolling Region
MV1.VGetInfo = True ' Kick off the Command
Label1.Caption = MV1.VInfo' The results are stored here as a string
' MV1.VInfoMsg = 7 ' GI_TOPICNO '
End Sub
Sub GetBag_Click ()
MV1.BaggageFile = Bagftext.Text
MV1.ViewerTitle = Book.Text
MV1.BaggageGet = MV1.BaggageLOF
Label1.Caption = MV1.BaggageLOF
Response.Text = MV1.BaggageData
End Sub